package com.huike.clues.mapper;


import com.huike.clues.domain.TbClueTrackRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 线索跟进记录Mapper接口
 * @date 2021-04-19
 */
public interface TbClueTrackRecordMapper {

    /**
     * 新增线索跟进记录
     * @param clueTrackRecord
     */
    void add(@Param("record") TbClueTrackRecord clueTrackRecord);

    /**
     * 根据线索id查询跟踪表所有数据
     * @param clueId
     * @return
     */
    List<TbClueTrackRecord> selectAllByClueId(@Param("clueId") Long clueId);
}
